<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/page/common/taglib.jsp"%>

<div class="hs-panel panel-default">
	<div class="hs-panel-heading clearfix">
		<h4 class="pull-left"><span class="glyphicon glyphicon-list"></span> <a href="${fn_el("admin")}${urlPath}">${fn_label(entityClass)}</a> / 编辑</h4>
		<form id="a1" action="${fn_el("admin")}${urlPath}" class="form-inline pull-right" role="form">
			<button type="submit" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-chevron-left"></span> 上一条</button>
			<button type="submit" class="btn btn-default btn-sm"><span class="glyphicon glyphicon-chevron-right"></span> 下一条</button>
		</form>
	</div>
	<div class="hs-panel-body">
		<form action="${fn_el("admin")}${urlPath}/update" method="post" role="form">
			<input type="hidden" name="id" value="${fn_el(entityVarName + ".id")}" />
			<jsp:include page="form.jsp" />
			<a href="${fn_el("admin")}${urlPath}/delete?id=${fn_el(entityVarName + ".id")}" class="hs-cf-delete">
				<button type="button" class="btn btn-default">删除</button>
			</a>
		</form>
	</div>
</div>